//-------------------------------------------------------------------------------------------------
// <copyright file="SA1633.cs" company="OfficeClip LLC">
// Copyright (c) OfficeClip LLC.  All rights reserved.
// </copyright>
//-------------------------------------------------------------------------------------------------

namespace OfficeClip.OpenSource.StyleFix.Drivers
{
    using System;
    using System.Collections.Generic;
    using System.Text;

    public class SA1633
    {
        public static void Run(string fileName, ref List<string> outputFileLines)
        {
            if (Properties.Settings.Default.CompanyName == string.Empty) return;
            string copyrightMessage =
 @"//-------------------------------------------------------------------------------------------------
// <copyright file=""{0}"" company=""{1}"">
// Copyright (c) {1}.  All rights reserved.
// </copyright>
//-------------------------------------------------------------------------------------------------
";
            copyrightMessage = string.Format(copyrightMessage, fileName, Properties.Settings.Default.CompanyName);

            // add the file header in the begining of the file
            outputFileLines.Insert(0, copyrightMessage);
        }
    }
}
